<?php
class MgEmpleado extends AppModel {

	var $name = 'MgEmpleado';
	var $validate = array(
		'id' => array('numeric'),
		'primer_nombre' => array('notempty'),
		'primer_apellido' => array('notempty'),
		'mg_tipo_empleado_id' => array('numeric'),
		'telefono' => array('notempty')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'MgTipoEmpleado' => array(
			'className' => 'MgTipoEmpleado',
			'foreignKey' => 'mg_tipo_empleado_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
			)
			);

}
?>